/**
 * 
 * 
 * Created on 25 apr. 2011 @ 05:53:58 by Laurens Andriessen
 */

package tests.laurens.combatserverbrowser;

/**
 * 
 * @author Laurens Andriessen
 * @version 1.0
 */
class CombatServerBrowserGUI {

	public CombatServerBrowserGUI() {
		while (true) {
			try {
				Thread.sleep(100);
			}
			catch (InterruptedException e) {}
			System.out.print("Gui! ");
			getServerList();
		}
	}

	public void getServerList() {
		synchronized (CombatServerBrowser.serverlist) {
			System.out.println(CombatServerBrowser.serverlist.size());
		}
	}
}
